#include <utilities/utilities.h>
#include <iostream>

int main()
{
  Utilities::echo(false);
  bool running(true);
  while(running)
  {
    Utilities::Key result(Utilities::getKey(true, true));
    std::cout << "got " << result << std::endl;
    if (result == Utilities::KEY_ESC)
    {
      running = false;
    }
    Utilities::sleep(50);
  }
  Utilities::echo(true);

  return 0;
}

